package com.second.mapper;

import com.second.model.pojo.FGoods;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 本接口用来演示:
 *
 * @author: MuTing
 * @createTime: 2022-05-18 00:03
 **/

@Repository
public interface FGoodsMapper extends JpaRepository<FGoods,Integer> {

    List<FGoods> findAllByShopId(Integer shopId);
}
